<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>试题</title>
    <link rel="stylesheet" type="text/css" href="/css/frame/share.css"/>
    <link rel="stylesheet" href="/css/bootstrap/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="/fonts/iconfont1.css">
    <link rel="stylesheet" type="text/css" href="/css/bootstrap/bootstrap-select/bootstrap-select.min.css">
    <link rel="stylesheet" type="text/css" href="/css/jquery-pagination/pagination.css">
    <link rel="stylesheet" type="text/css" href="/css/jquery-confirm/jquery-confirm.css">
    <link rel="stylesheet" type="text/css" href="/css/frame/choice.css"/>

    <script src="/js/jquery/jquery-3.5.1.min.js"></script>
    <script src="/js/bootstrap/bootstrap.min.js"></script>
    <script src="/js/bootstrap/bootstrap-select/bootstrap-select.min.js"></script>
    <script src="/js/bootstrap/bootstrap-select/i18n/defaults-zh_CN.min.js"></script>
    <script src="/js/jquery/jquery-pagination/jquery.pagination.js"></script>
    <script src="js/jquery/jquery-confirm.js"></script>
    <script src="/js/frame/choice.js"></script>
</head>
<style>
    body {
        margin: 8px;
    }
</style>
<body>
<div style="width:100%;height:40px;">
    <div id="subIdDiv">
        <select name="channels" id="subIdScreen" data-style="btn-info" class="selectpicker" data-live-search="true">
            <option value="0">全部学科</option>
        </select>
    </div>
    <div id="typeDiv">
        <select name="channels" id="typeScreen" data-style="btn-info" class="selectpicker" data-live-search="true">
            <option value="0">全部类型</option>
            <option value="1">单选题</option>
            <option value="2">多选题</option>
            <option value="3">判断题</option>
            <option value="4">简答题</option>
            <option value="5">填空题</option>
        </select>
    </div>
    <div class="blue ui buttons" style="float: right;">
        <button class="ui button green" id="upload">批量导入</button>
        <button class="ui button green" onclick="exportchoice()">导出</button>
    </div>
    <div class="blue ui buttons" style="float: right;margin-left: 10px;">
        <button id="addchoice" class="ui button">添加试题</button>
    </div>
    <div class="ui query">
        <input class="query" type="text" id="query">
        <i class="my-icon lsm-sidebar-icon icon-chazhao querybtn"></i>
    </div>
</div>
<div class="allchoice">
    <!--		<div class="choice" choideid="">-->
    <!--			<div class="choice-title"><div class="choice-type">单选题</div><div class="choice-name" >css中描述宽度的属性是？</div>-->
    <!--				<div class="choice-oper pack-up"><i class="my-icon lsm-sidebar-icon  icon-jiantouxia"></i></div>-->
    <!--				<div class="choice-oper delete-choice"><i class="my-icon lsm-sidebar-icon icon-shanchu "></i></div>-->
    <!--				<div class="choice-oper edit-choice"><i class="my-icon lsm-sidebar-icon icon-bianji "></i></div>-->
    <!--			</div>-->
    <!--			<div class="choice-details">-->
    <!--				<div class="make-choice">-->
    <!--					<div class="input-cho"><input class="single" type="radio" name="single1" />A.height</div>-->
    <!--					<div class="input-cho"><input class="single" type="radio" name="single1" />B.width</div>-->
    <!--					<div class="input-cho"><input class="single" type="radio" name="single1" />C.top</div>-->
    <!--					<div class="input-cho"><input class="single" type="radio" name="single1" />D.bottom</div>-->
    <!--				</div>-->
    <!--				<div class="answer">标答：B</div>-->
    <!--				<div class="difficulty">难度：</div>-->
    <!--				<div class="analysis">解析：</div>-->
    <!--				<div class="knowledge">知识点：</div>-->
    <!--			</div>-->
    <!--		</div>-->
    <!--		<div class="choice">-->
    <!--			<div class="choice-title"><div class="choice-type">多选题</div><div class="choice-name" >你所熟练的语言？</div>-->
    <!--				<div class="choice-oper pack-up"><i class="my-icon lsm-sidebar-icon  icon-jiantouxia"></i></div>-->
    <!--				<div class="choice-oper delete-choice"><i class="my-icon lsm-sidebar-icon icon-shanchu "></i></div>-->
    <!--				<div class="choice-oper edit-choice"><i class="my-icon lsm-sidebar-icon icon-bianji "></i></div>-->
    <!--			</div>-->
    <!--			<div class="choice-details">-->
    <!--				<div class="make-choice">-->
    <!--					<lable class="input-cho"><input class="single" type="checkbox" name="single2" />A.js</lable>-->
    <!--					<div class="input-cho"><input class="single" type="checkbox" name="single2" />B.html</div>-->
    <!--					<div class="input-cho"><input class="single" type="checkbox" name="single2" />C.css</div>-->
    <!--					<div class="input-cho"><input class="single" type="checkbox" name="single2" />D.java</div>-->
    <!--				</div>-->
    <!--				<div class="answer">标答：</div>-->
    <!--				<div class="difficulty">难度：</div>-->
    <!--				<div class="analysis">解析：</div>-->
    <!--				<div class="knowledge">知识点：</div>-->
    <!--			</div>-->
    <!--		</div>-->
    <!--		<div class="choice" >-->
    <!--			<div class="choice-title"><div class="choice-type">判断题</div><div class="choice-name" >1+1=2？</div>-->
    <!--				<div class="choice-oper pack-up"><i class="my-icon lsm-sidebar-icon  icon-jiantouxia"></i></div>-->
    <!--				<div class="choice-oper delete-choice"><i class="my-icon lsm-sidebar-icon icon-shanchu "></i></div>-->
    <!--				<div class="choice-oper edit-choice"><i class="my-icon lsm-sidebar-icon icon-bianji "></i></div>-->
    <!--			</div>-->
    <!--			<div class="choice-details">-->
    <!--				<div class="make-choice">-->
    <!--					<div class="input-cho"><input class="single" type="radio" name="single3" />正确</div>-->
    <!--					<div class="input-cho"><input class="single" type="radio" name="single3" />错误</div>-->
    <!--				</div>-->
    <!--				<div class="answer">标答：正确</div>-->
    <!--				<div class="difficulty">难度：</div>-->
    <!--				<div class="analysis">解析：</div>-->
    <!--				<div class="knowledge">知识点：</div>-->
    <!--			</div>-->
    <!--		</div>-->
    <!--		<div class="choice" >-->
    <!--			<div class="choice-title"><div class="choice-type">简答题</div><div class="choice-name" >介绍一下自己</div>-->
    <!--				<div class="choice-oper pack-up"><i class="my-icon lsm-sidebar-icon  icon-jiantouxia"></i></div>-->
    <!--				<div class="choice-oper delete-choice"><i class="my-icon lsm-sidebar-icon icon-shanchu "></i></div>-->
    <!--				<div class="choice-oper edit-choice"><i class="my-icon lsm-sidebar-icon icon-bianji "></i></div>-->
    <!--			</div>-->
    <!--			<div class="choice-details">-->
    <!--				<div class="make-choice">-->
    <!--					<div class="text-cho"><textarea rows="3" cols="50" wrap="hard">我是一个文本框。</textarea></div>-->
    <!--				</div>-->
    <!--				<div class="answer">标答：</div>-->
    <!--				<div class="difficulty">难度：</div>-->
    <!--				<div class="analysis">解析：</div>-->
    <!--				<div class="knowledge">知识点：</div>-->
    <!--			</div>-->
    <!--		</div>-->
</div>
<div class="paginationParent">
    <div id="showNumberdiv" style="float: right;margin-top: 20px;width:60px">
        <select name="channels" id="showNumber" data-style="btn-info" class="selectpicker">
            <option value="5">5条</option>
            <option value="10">10条</option>
            <option value="20">20条</option>
            <option value="30">30条</option>
            <option value="40">40条</option>
            <option value="50">50条</option>
            <option value="60">60条</option>
            <option value="70">70条</option>
            <option value="80">80条</option>
            <option value="90">90条</option>
            <option value="100">100条</option>
        </select>
    </div>
    <div style="float: right;margin-top: 20px;">单页显示：</div>
    <label class="totalmsg" style="float: right;margin-top: 20px;"></label>
    <div id="Pagination"></div>
</div>
<div class="popWindow">
    <h3>试题编辑<span hidden id="sp1">关闭</span></h3>
    <div class="choicecontent" style="width: auto;float: left;">
        <div style="width:300px;float: left;">
            <div class="wContent" style="width:300px;float: left;overflow-y: auto;">
                <table class="choice_table" choice_id="">
                    <tr>
                        <td>题目类型</td>
                        <td>
                            <select name="channels" id="choicetype" data-style="btn-info" class="selectpicker">
                                <option value="1">单选题</option>
                                <option value="2">多选题</option>
                                <option value="3">判断题</option>
                                <option value="4">简答题</option>
                                <option value="5">填空题</option>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td>学科</td>
                        <td><select name="subject" id="subjectId" data-style="btn-info" class="selectpicker">

                        </select>
                        </td>
                    </tr>
                    <tr>
                        <td>题目</td>
                        <td><textarea rows="2" cols="" style="max-width: 212px;" wrap="hard" id="choice_name"
                                      placeholder="请输入题目"></textarea></td>
                    </tr>
                    <tr class="choice_option_tr">
                        <td>选项个数</td>
                        <td><select name="channels" id="choicenum" data-style="btn-info" class="selectpicker">
                            <option value="4">4</option>
                            <option value="5">5</option>
                            <option value="6">6</option>
                        </select>
                        </td>
                    </tr>
                    <tr class="choice_option_tr optionA">
                        <td><input type="radio" name="opt" value="A" class="choice_option"/>A</td>
                        <td><input type="text" class="form-control operation1" id="optionA" placeholder="请输入选项内容"></td>
                    </tr>
                    <tr class="choice_option_tr optionB">
                        <td><input type="radio" name="opt" value="B" class="choice_option"/>B</td>
                        <td><input type="text" class="form-control operation1" id="optionB" placeholder="请输入选项内容"></td>
                    </tr>
                    <tr class="choice_option_tr optionC">
                        <td><input type="radio" name="opt" value="C" class="choice_option"/>C</td>
                        <td><input type="text" class="form-control operation1" id="optionC" placeholder="请输入选项内容"></td>
                    </tr>
                    <tr class="choice_option_tr optionD">
                        <td><input type="radio" name="opt" value="D" class="choice_option"/>D</td>
                        <td><input type="text" class="form-control operation1" id="optionD" placeholder="请输入选项内容"></td>
                    </tr>
                    <tr class="choice_option_tr optionE">
                        <td><input type="radio" name="opt" value="E" class="choice_option"/>E</td>
                        <td><input type="text" class="form-control operation1" id="optionE" placeholder="请输入选项内容"></td>
                    </tr>
                    <tr class="choice_option_tr optionF">
                        <td><input type="radio" name="opt" value="F" class="choice_option"/>F</td>
                        <td><input type="text" class="form-control operation1" id="optionF" placeholder="请输入选项内容"></td>
                    </tr>
                    <tr class="choice_judje_tr">
                        <td>判断</td>
                        <td>
                            <input type="radio" name="judje" value="1" class="choice_judje cor1"/>正确
                            <input type="radio" name="judje" value="0" class="choice_judje cor2"/>错误
                        </td>
                    </tr>
                    <tr class="awser_tr1">
                        <td>标答</td>
                        <td><input type="text" readonly="true" class="form-control" id="anwser" placeholder="请选择正确选项">
                        </td>
                    </tr>
                    <tr class="awser_tr2">
                        <td>标答</td>
                        <td>
                            <textarea rows="2" cols="" style="max-width: 212px;" wrap="hard" id="answer2"
                                      placeholder="请输入参考答案"></textarea>
                        </td>
                    </tr>
                    <tr>
                        <td>难度</td>
                        <td>
                            <div class="star-box">
                                <input type="radio" name="star" id="star5" value="5" hidden/>
                                <label for="star5"></label>
                                <input type="radio" name="star" id="star4" value="4" hidden/>
                                <label for="star4"></label>
                                <input type="radio" name="star" id="star3" value="3" hidden/>
                                <label for="star3"></label>
                                <input type="radio" name="star" id="star2" value="2" hidden/>
                                <label for="star2"></label>
                                <input type="radio" name="star" id="star1" value="1" hidden/>
                                <label for="star1"></label>
                            </div>
                        </td>
                    </tr>
                    <tr class="knowledge_tr">
                        <td id="knowledge_open">知识点 <i class="my-icon lsm-sidebar-icon icon-tianjia"></i></td>
                        <td class="knowledges">
                        </td>
                    </tr>
                    <tr class="accessory_tr" hidden>
                        <td id="accessory_open">附件 <i class="my-icon lsm-sidebar-icon icon-tianjia"></i></td>
                        <td class="accessorys">

                        </td>
                    </tr>
                    <tr>
                        <td>解析</td>
                        <td>
                            <textarea rows="1" cols="" style="max-width: 212px;" wrap="hard" id="choice_analysis"
                                      placeholder="请输入解析"></textarea>
                        </td>
                    </tr>
                    <tr>
                        <td>评分标准</td>
                        <td id="scaleofmarkstd">
                            <select name="channels" id="scaleofmarks" data-style="btn-info" class="selectpicker">
                                <option value="0" >自动全等</option>
                                <option value="1">少选百分比+多选不得分</option>
                                <option value="2">人工</option>
                            </select>
                        </td>
                    </tr>
                </table>
            </div>

            <div class="yaperoter">
                <div class="ui buttons" style="margin-left: 10px;width: 80px;">
                    <button id="resetchoice" class="ui button" style="width: 100%;">重置</button>
                </div>
                <div class="blue ui buttons" style="margin-left: 10px;width: 80px;">
                    <button id="savechoice" class="ui button" style="width: 100%;">提交</button>
                </div>
                <div class="ui buttons" style="margin-left: 10px;width: 80px;">
                    <button id="cancel" class="ui button" style="width: 100%;">取消</button>
                </div>
            </div>
        </div>
        <div class="addtext" hidden>
            <div class="addtexttitle">
                <div class="addtitel">知识点</div>
                <div class="library_div" style="float: left" hidden>
                    <select name="channels" id="library" data-style="btn-info" class="selectpicker">
                        <option value="0">文件</option>
                        <option value="1">样本</option>
                    </select>
                </div>
                <div class="ui query">
                    <input class="query" type="text" onkeypress="query1(event)" id="query1"><i
                        class="my-icon lsm-sidebar-icon icon-chazhao querybtn" id="query101"></i>

                </div>
            </div>
            <div class="addcontext">

            </div>
            <div class="paginationParent" id="paginationParent2">
                <div id="showNumberdiv2" style="float: right;margin-top: 20px;width:60px">
                    <select name="channels" id="showNumber2" data-style="btn-info" class="selectpicker">
                        <option value="5">5条</option>
                        <option value="10">10条</option>
                        <option value="20">20条</option>
                        <option value="30">30条</option>
                        <option value="40">40条</option>
                        <option value="50">50条</option>
                        <option value="60">60条</option>
                        <option value="70">70条</option>
                        <option value="80">80条</option>
                        <option value="90">90条</option>
                        <option value="100">100条</option>
                    </select>
                </div>
                <div style="float: right;margin-top: 20px;">单页显示：</div>
                <label class="totalmsg2" style="float: right;margin-top: 20px;"></label>
                <div id="Pagination2"></div>
            </div>
        </div>
    </div>
</div>
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title" id="myModalLabel">文件上传</h4>
            </div>
            <div class="modal-body">
                <input id="f_upload" type="file" name="file"/>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button" id="Submitfile" class="btn btn-primary">提交更改</button>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal -->
</div>


</body>
</html>